import random
daizi=[[],[],[]]
qiu=['1','2','3','4','5','6','7','8','9']
for i in range(0,3):
  ball=random.choice(qiu)
  qiu.remove(ball)
  index=random.randint(0,2)
  daizi[index].append(ball)
print(daizi)